package com.itheima.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.domain.ProductLadder;
import com.itheima.mapper.ProductLadderMapper;
import com.itheima.service.IProductLadderService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 产品阶梯价格表(只针对同商品) 服务实现类
 * </p>
 *
 * @author fukeke
 * @since 2022-11-11
 */
@DubboService
public class ProductLadderServiceImpl extends ServiceImpl<ProductLadderMapper, ProductLadder> implements IProductLadderService {
    @Autowired
    ProductLadderMapper productLadderMapper;

    @Override
    public void createPmsProductLadder(ProductLadder pmsProductLadder) {
        productLadderMapper.insert(pmsProductLadder);
    }
}
